package com.lzxuni.modules.dataAcquisition.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 追溯链条
 * </p>
 *
 * @author wzx
 * @since 2019-06-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("base_chain")
public class Chain implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private String chainId;

    /**
     * 名称
     */
    private String chainName;

    /**
     * 产品类型
     */
    private String productType;

    /**
     * 追溯链代码
     */
    private String chainCode;

    /**
     * 所属企业
     */
    private String affiliatedEnterprises;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

}
